package com.siao.starling.mvc.notice
{
	import com.siao.starling.mvc.core.INotice;
	import com.siao.starling.mvc.core.INotifier;
	import com.siao.starling.mvc.managers.NoticeManager;
	
	/**
	 * 消息派发器
	 * @author SiaoLeon
	 */
	public class Notifier implements INotifier
	{
		// -------------------------------------------------------------------------------------------------------- 静态常量
		
		// -------------------------------------------------------------------------------------------------------- 静态变量
		
		// -------------------------------------------------------------------------------------------------------- 静态方法
		
		// -------------------------------------------------------------------------------------------------------- 静态函数
		
		// -------------------------------------------------------------------------------------------------------- 属性
		
		// -------------------------------------------------------------------------------------------------------- 变量
		
		// -------------------------------------------------------------------------------------------------------- 构造
		
		// -------------------------------------------------------------------------------------------------------- 方法
		
		public function notify(method:Object, params:*=null, queue:Object=null, isBlock:Boolean=false):INotice
		{
			return NoticeManager.instance.notify(new Notice(this, method, params, queue, isBlock));
		}
	
		// -------------------------------------------------------------------------------------------------------- 函数
	
	}
}
